import React from 'react'
import ReactDOM from 'react-dom/client'
import App from './App.jsx'
import { BrowserRouter } from 'react-router-dom';
import store from "@/redux"
import { Provider } from "react-redux"
import './assets/css/index.css'
import './redux/index.js'

ReactDOM.createRoot(document.getElementById('root')).render(
  <BrowserRouter>
    <Provider store={store}>
      <App />
    </Provider>
  </BrowserRouter>
  // <React.StrictMode></React.StrictMode>,
)
// import { Suspense } from 'react';
// import { RouterProvider } from 'react-router-dom';

// import ReactDOM from 'react-dom/client';

// import router from './router';

// const root = ReactDOM.createRoot(document.getElementById('root'));

// root.render(
//   <Suspense fallback={<div>Loading...</div>}>
//     <RouterProvider router={router} />
//   </Suspense>
// );
